package com.shsxt.crm.service;

import java.util.Map;

import org.springframework.web.bind.annotation.RequestParam;

import com.shsxt.common.util.Result;
import com.shsxt.crm.model.YgCustomerOrder;

/**
 * 客户订单服务
 * @author Mr.YongGan.Zhang
 *
 */
public interface ICustomerOrderService {

	/**
	 *查询客户订单
	 * @param cid
	 * @return
	 */
	public Map<String, Object> queryOrdersByCid (Integer cid, Integer page,  Integer rows) ;
	
	/**
	 * 查询客户订单详情
	 * @param orderId  订单id
	 * @return
	 */
	public Result<YgCustomerOrder> queryCustoemrOrderByOrderId (Integer orderId);

	/**
	 * 查询客户订单商品详情
	 * @param orderId
	 * @return
	 */
	public Map<String, Object> queryOrderDetailsByOrderId (Integer orderId ,Integer page, Integer rows);

}
